﻿using System;
using System.Runtime.InteropServices;

namespace Scenario.WAPI
{
    /// <summary>
    /// Descrizione di riepilogo per wrpWAPIRequest.
    /// </summary>
    public partial class Workflow
    {
        [DllImport("WAPI.dll", EntryPoint = "getWorkflowRunningList", CharSet = CharSet.Ansi)]
        [return: MarshalAs(UnmanagedType.AnsiBStr)]
        private static extern String GetWorkflowRunningList(ref Response response);

        [DllImport("WAPI.dll", EntryPoint = "addWorkflow", CharSet = CharSet.Ansi)]
        [return: MarshalAs(UnmanagedType.AnsiBStr)]
        private static extern String AddWorkflow(string sXMLWorkflow, ref Response response);

    }
}
